﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductDetails.aspx.cs" Inherits="HelloASPX.ProductDetails" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>商品详情页</title>
	<link href="./css/bootstrap.min.css" rel="stylesheet" />
	<script type="text/javascript" src="./js/jquery.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
	<header style="width:100%; height:70px;">
		<div class="logo"><a href="ProductList.aspx"><img src="./img/logo.png" style="width:150px;height:70px;"/></a>
			<asp:Button ID="useradminButton" runat="server" Text="用户管理" OnClick="useradminButton_Click" style="margin:10px 20px; border:0; background-color:skyblue; color:aliceblue; height:50px;"/>
			<asp:Button ID="AddProduct" runat="server" Text="添加商品" OnClick="AddProduct_Click" style="margin:10px 20px; border:0; background-color:skyblue; color:aliceblue; height:50px;" />
		</div>
		<div class="useradmin">
		</div>
	</header>
        <div class="container">
		<div class="row">
		  <div class="col-xs-6 col-md-6">
		    <a href="#" class="thumbnail">
                <asp:Image ID="ProductDetailImage" runat="server" style="width: 560px;height: 560px;"/>
		    </a>
		  </div>
		  <div class="col-xs-6 col-md-6">
		   	<div class="panel panel-default" style="height: 560px">
			  <div class="panel-heading">商品详情</div>
			  <div class="panel-body">
			    <h3>产品名称:<asp:Label ID="ProductDetailName" runat="server"></asp:Label></h3>
			    <div style="margin-left: 10px;">
				    
					<p>市场价格:&nbsp;&nbsp;&nbsp;<asp:Label ID="ProductDetailPrice" runat="server" class="text-danger" style="font-size: 15px;"></asp:Label></p>
				    <p>上市时间:&nbsp;&nbsp;&nbsp;<asp:Label ID="ProductDetailTime" runat="server"></asp:Label></p>
				    <p>详细介绍:</p>
				    <p>&nbsp;&nbsp;<asp:Label ID="ProductDetailInfo" runat="server"></asp:Label></p>
                    <asp:Button ID="AddToCart" runat="server" Text="立即购买" class="btn btn-warning" OnClick="AddToCart_Click"/>
			    </div>
			  </div>
			</div>
		  </div>
		</div>
	</div>
    </form>
</body>
</html>
